package com.evil.common.application.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class SourceDTO {

    /**
     * 源类型
     */
    @NotNull(message = "源类型不能为空")
    private Integer sourceType;

    /**
     * 源id
     */
    @NotNull(message = "源id不能为空")
    private Long sourceId;
}
